/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Model;

import java.util.Date;

/**
 *
 * @author Master
 */
public class model_NhanVien {
    private String MANV;
    private String TENNV;
    private String CMND;
    private String GIOITINH;
    private Date NGAYSINH;
    private String DIACHI;
    private String DIENTHOAI;
    private Date NGAYBATDAU;

    public String getMANV() {
        return MANV;
    }
    public void setMANV(String MANV) {
        this.MANV = MANV;
    }

    public String getTENNV() {
        return TENNV;
    }
    public void setTENNV(String TENNV) {
        this.TENNV = TENNV;
    }

    public String getCMND() {
        return CMND;
    }
    public void setCMND(String CMND) {
        this.CMND = CMND;
    }

    public String getGIOITINH() {
        return GIOITINH;
    }
    public void setGIOITINH(String GIOITINH) {
        this.GIOITINH = GIOITINH;
    }

    public Date getNGAYSINH() {
        return NGAYSINH;
    }
    public void setNGAYSINH(Date NGAYSINH) {
        this.NGAYSINH = NGAYSINH;
    }

    public String getDIACHI() {
        return DIACHI;
    }
    public void setDIACHI(String DIACHI) {
        this.DIACHI = DIACHI;
    }

    public String getDIENTHOAI() {
        return DIENTHOAI;
    }
    public void setDIENTHOAI(String DIENTHOAI) {
        this.DIENTHOAI = DIENTHOAI;
    }

    public Date getNGAYBATDAU() {
        return NGAYBATDAU;
    }
    public void setNGAYBATDAU(Date NGAYBATDAU) {
        this.NGAYBATDAU = NGAYBATDAU;
    }
    
    public model_NhanVien() {
        this.MANV = "";
        this.TENNV = "";
        this.CMND = "";
        this.GIOITINH = "";
        this.NGAYSINH = new Date();
        this.DIACHI = "";
        this.DIENTHOAI = "";
        this.NGAYBATDAU = new Date();
    }

    public model_NhanVien(String _manv, String _tennv, String _cmnd, String _gioitinh, Date _ngaysinh, String __diachi, String _dienthoai, Date _ngaybatdau) {
        this.MANV = _manv;
        this.TENNV = _tennv;
        this.CMND = _cmnd;
        this.GIOITINH = _gioitinh;
        this.NGAYSINH = _ngaysinh;
        this.DIACHI = __diachi;
        this.DIENTHOAI = _dienthoai;
        this.NGAYBATDAU = _ngaybatdau;
    }

    @Override
    public String toString() {
        return this.MANV;
    }
}
